<?php
// +----------------------------------------------------------------------
// | yiran [ 张依然 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://yzncms.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 张依然 <530765310@qq.com>
// +-----
namespace app\Payment\model;


use think\Model;

class PayPayment extends Model
{
  public  function get_all($where=['enabled'=>1],$order=['pay_order'=>'desc']){
      $list=$this->where($where)
          ->order($order)
          ->select();
      return $list;
  }

}